Skip to main content

Event Node

Events are automatically registered when the execution enters the workflow through a start node. De-registration from the event source happens in a regular end node.

Therefore the common execution flow should always end in a final node so the next event can still be observed.

A pattern to be able to stop listening for an event is to use a decision that either continues to a final node or branches to join node where the main process waits and then is able to continue and exits via the aforementioned de-registering end node.

event handler example